package com.anche.demo.util;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

import java.util.Objects;
import java.util.concurrent.atomic.AtomicReference;

/**
 * @ClassName: Test
 * @Description: TODO
 * @date: 2023-6-6 17:29
 * @Auther: hey
 */
public class Test {
//    public static void main(String[] args) throws IOException {
//        List<String> ls=new ArrayList<>();
//        ls.add("{\"ruleId\":875057281694617600,\"tenantId\":875056530748612609,\"bdId\":901512672836521985,\"methodName\":\"综合评估法\",\"tbrPbDTOList\":[{\"id\":\"901512676577890306\",\"tbrId\":\"892005189621899265\",\"tenantId\":\"875056530748612609\",\"bdId\":901512672836521985,\"tbrCode\":\"91130000183218423T\",\"tbrName\":\"北京机构3(测试)\",\"totalprice\":400000.00,\"totalpriceSource\":null,\"totalpriceString\":null,\"badbidPb\":false,\"badbidReason\":null,\"correctTotalPrice\":null,\"correctReason\":null,\"pbTotalprice\":400000,\"bizScore\":null,\"bizOrder\":null,\"totalscore\":63.00,\"finalOrder\":null,\"finalOrderByPw\":null,\"candidate\":null,\"winner\":null,\"replyChatRoomId\":null,\"endTimeOfReply\":null,\"batchNumber\":null,\"flowResultMap\":null,\"flowNameMap\":null}],\"tbrPsFlowResultDTOList\":[{\"id\":901514598594293763,\"tenantId\":875056530748612609,\"bdId\":901512672836521985,\"tbrId\":901512676577890305,\"psFlowId\":901512675713863681,\"ok\":true,\"score\":null,\"scoreNoweight\":null,\"badbid\":null,\"badbidNote\":null,\"tbrCode\":\"91120115111722524T\",\"tbrName\":\"北京机构1(测试)\",\"secretNumberSequence\":null,\"secretNumberName\":null,\"inFlow\":true,\"psFlowName\":\"定性评审\",\"deleted\":false,\"createTime\":null,\"creatorId\":null,\"creatorName\":null,\"modifyTime\":null,\"modifierId\":null,\"modifierName\":null},{\"id\":901514598594293767,\"tenantId\":875056530748612609,\"bdId\":901512672836521985,\"tbrId\":901512676577890306,\"psFlowId\":901512675713863681,\"ok\":true,\"score\":null,\"scoreNoweight\":null,\"badbid\":null,\"badbidNote\":null,\"tbrCode\":\"91130000183218423T\",\"tbrName\":\"北京机构3(测试)\",\"secretNumberSequence\":null,\"secretNumberName\":null,\"inFlow\":true,\"psFlowName\":\"定性评审\",\"deleted\":false,\"createTime\":null,\"creatorId\":null,\"creatorName\":null,\"modifyTime\":null,\"modifierId\":null,\"modifierName\":null},{\"id\":901514682878832644,\"tenantId\":875056530748612609,\"bdId\":901512672836521985,\"tbrId\":901512676577890305,\"psFlowId\":901512675718057984,\"ok\":null,\"score\":73.00,\"scoreNoweight\":null,\"badbid\":null,\"badbidNote\":null,\"tbrCode\":\"91120115111722524T\",\"tbrName\":\"北京机构1(测试)\",\"secretNumberSequence\":null,\"secretNumberName\":null,\"inFlow\":true,\"psFlowName\":\"定量评审\",\"deleted\":false,\"createTime\":null,\"creatorId\":null,\"creatorName\":null,\"modifyTime\":null,\"modifierId\":null,\"modifierName\":null},{\"id\":901514683038216195,\"tenantId\":875056530748612609,\"bdId\":901512672836521985,\"tbrId\":901512676577890306,\"psFlowId\":901512675718057984,\"ok\":null,\"score\":63.00,\"scoreNoweight\":null,\"badbid\":null,\"badbidNote\":null,\"tbrCode\":\"91130000183218423T\",\"tbrName\":\"北京机构3(测试)\",\"secretNumberSequence\":null,\"secretNumberName\":null,\"inFlow\":true,\"psFlowName\":\"定量评审\",\"deleted\":false,\"createTime\":null,\"creatorId\":null,\"creatorName\":null,\"modifyTime\":null,\"modifierId\":null,\"modifierName\":null}],\"summaryRule\":{\"tenantIdAndBdIdAndFlowId\":\"875056530748612609901512672836521985901512675718057993\",\"summaryRule\":\"875057281694617600\",\"_id\":{\"timestamp\":1634978971,\"date\":\"2021-10-23T08:49:31.000+00:00\"},\"order\":[{\"resultOrderBy\":1,\"psFlowId\":\"\",\"resultOrderType\":2,\"basis\":\"总得分\",\"seq\":1},{\"resultOrderBy\":2,\"psFlowId\":\"\",\"resultOrderType\":2,\"basis\":\"某评标环节得分\",\"seq\":2}]},\"psFlowDTOList\":[{\"id\":901512675713863681,\"tenantId\":875056530748612609,\"bdId\":901512672836521985,\"psFlowSequence\":1,\"psFlowName\":\"定性评审\",\"kbStageSequence\":1,\"psMethod\":1,\"psStatus\":1,\"weight\":null,\"passingScore\":null,\"secretBid\":false,\"allowDviation\":null,\"dviationCount\":null,\"dviationTotalpriceFloating\":null,\"psType\":null,\"summaryType\":1,\"summaryMethod\":null,\"summaryMethodN\":null,\"summaryMethodX\":null,\"summaryMethodY\":null,\"submitType\":1,\"qualifiedRatioDenominator\":null,\"qualifiedRatioMolecule\":null,\"scoreScale\":null,\"passLimitType\":0,\"passLimitNumber\":0,\"orderType\":1,\"bsPsFlowId\":901507170296045569},{\"id\":901512675718057984,\"tenantId\":875056530748612609,\"bdId\":901512672836521985,\"psFlowSequence\":2,\"psFlowName\":\"定量评审\",\"kbStageSequence\":1,\"psMethod\":2,\"psStatus\":1,\"weight\":null,\"passingScore\":null,\"secretBid\":false,\"allowDviation\":null,\"dviationCount\":null,\"dviationTotalpriceFloating\":null,\"psType\":null,\"summaryType\":1,\"summaryMethod\":null,\"summaryMethodN\":null,\"summaryMethodX\":null,\"summaryMethodY\":null,\"submitType\":1,\"qualifiedRatioDenominator\":null,\"qualifiedRatioMolecule\":null,\"scoreScale\":null,\"passLimitType\":0,\"passLimitNumber\":0,\"orderType\":1,\"bsPsFlowId\":901507170312822786}],\"needOrder\":null}");
//        ls.add("12312");
//        Path write = Files.write(Paths.get("D:\\data\\file\\shihsi.json"), ls,
//                StandardOpenOption.CREATE,
//                StandardOpenOption.TRUNCATE_EXISTING);
//        String s = JSON.toJSONString(ls);
//        JSONObject jsonObject = JSON.parseObject(s);
//
//    }
public static void main(String[] args) {
    String json="{\"businessNodeList\":[{\"businessNodeKey\":\"base_info\",\"businessNodeName\":\"基本信息\",\"fieldList\":[{\"configFieldKey\":\"purchase_request_name\",\"configFieldName\":\"采购申请名称\",\"display\":false,\"readOnly\":false},{\"configFieldKey\":\"purchase_request_no\",\"configFieldName\":\"采购申请单号\",\"display\":false,\"readOnly\":false},{\"configFieldKey\":\"entry_name\",\"configFieldName\":\"项目名称\",\"display\":true,\"readOnly\":true},{\"configFieldKey\":\"project_number\",\"configFieldName\":\"项目编号\",\"display\":true,\"readOnly\":true},{\"configFieldKey\":\"procurement_method\",\"configFieldName\":\"招标/采购方式\",\"display\":true,\"readOnly\":true},{\"configFieldKey\":\"purchase_mode\",\"configFieldName\":\"采购模式\",\"display\":true,\"readOnly\":false},{\"configFieldKey\":\"trading_area\",\"configFieldName\":\"交易领域\",\"display\":true,\"readOnly\":true},{\"configFieldKey\":\"organizational_form\",\"configFieldName\":\"组织形式\",\"display\":true,\"readOnly\":true},{\"configFieldKey\":\"classification_category\",\"configFieldName\":\"分类类目\",\"display\":false,\"readOnly\":false},{\"configFieldKey\":\"type\",\"configFieldName\":\"类别\",\"display\":false,\"readOnly\":false},{\"configFieldKey\":\"project_type\",\"configFieldName\":\"项目类别\",\"display\":true,\"readOnly\":true},{\"configFieldKey\":\"major_type\",\"configFieldName\":\"专业类别\",\"display\":false,\"readOnly\":false},{\"configFieldKey\":\"upload_attachment\",\"configFieldName\":\"上传附件\",\"display\":false,\"readOnly\":false},{\"configFieldKey\":\"project_remark\",\"configFieldName\":\"说明\",\"display\":true,\"readOnly\":false}]},{\"businessNodeKey\":\"bid_info\",\"businessNodeName\":\"标段/包信息\",\"fieldList\":[{\"configFieldKey\":\"bid_info_budget\",\"configFieldName\":\"预算\",\"display\":true,\"readOnly\":false},{\"configFieldKey\":\"price_offer_type\",\"configFieldName\":\"报价方式\",\"display\":true,\"itemList\":[{\"itemKey\":\"price_offer_type_total\",\"itemName\":\"投标总报价\"},{\"itemKey\":\"price_offer_type_rate\",\"itemName\":\"费率\"}],\"readOnly\":false},{\"configFieldKey\":\"rates_quoted_limited_decimals\",\"configFieldName\":\"费率报价小数位数限制\",\"display\":false,\"readOnly\":false},{\"configFieldKey\":\"is_price_audit\",\"configFieldName\":\"是否需要价格评审\",\"display\":true,\"itemList\":[{\"itemKey\":\"yes\",\"itemName\":\"是\"},{\"itemKey\":\"no\",\"itemName\":\"否\"}],\"readOnly\":false},{\"configFieldKey\":\"qualification_examination_by_purchaser\",\"configFieldName\":\"是否由采购人进行资格审查\",\"display\":false,\"itemList\":[{\"itemKey\":\"no\",\"itemName\":\"否\"}],\"readOnly\":false},{\"configFieldKey\":\"publish_base_price_on_kai_bid\",\"configFieldName\":\"开标是否宣布基准价\",\"display\":false,\"itemList\":[{\"itemKey\":\"no\",\"itemName\":\"否\"}],\"readOnly\":false},{\"configFieldKey\":\"is_two_phrase_audit\",\"configFieldName\":\"是否采用双信封\",\"display\":true,\"itemList\":[{\"itemKey\":\"yes\",\"itemName\":\"是\"},{\"itemKey\":\"no\",\"itemName\":\"否\"}],\"readOnly\":false},{\"configFieldKey\":\"is_set_audit_weight\",\"configFieldName\":\"是否设置评审权重\",\"display\":true,\"itemList\":[{\"itemKey\":\"yes\",\"itemName\":\"是\"},{\"itemKey\":\"no\",\"itemName\":\"否\"}],\"readOnly\":false},{\"configFieldKey\":\"is_publish_successor_by_expert\",\"configFieldName\":\"是否由评委确定中标人\",\"display\":true,\"itemList\":[{\"itemKey\":\"no\",\"itemName\":\"否\"},{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":false},{\"configFieldKey\":\"has_max_price_to_tbr\",\"configFieldName\":\"是否有最高投标限价\",\"display\":true,\"itemList\":[{\"itemKey\":\"yes\",\"itemName\":\"是\"},{\"itemKey\":\"no\",\"itemName\":\"否\"}],\"readOnly\":false},{\"configFieldKey\":\"is_contain_project_list\",\"configFieldName\":\"是否存在工程量清单\",\"display\":true,\"itemList\":[{\"itemKey\":\"no\",\"itemName\":\"否\"},{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":true},{\"configFieldKey\":\"bill_of_quantities_type\",\"configFieldName\":\"清单版本\",\"display\":true,\"itemList\":[{\"itemKey\":\"standard_bill\",\"itemName\":\"国标(工程类GB50500)\"},{\"itemKey\":\"nonstandard_bill\",\"itemName\":\"非国标(使用Excel)\"}],\"readOnly\":true},{\"configFieldKey\":\"is_need_bds\",\"configFieldName\":\"是否有招标控制价文件\",\"display\":true,\"itemList\":[{\"itemKey\":\"yes\",\"itemName\":\"是\"},{\"itemKey\":\"no\",\"itemName\":\"否\"}],\"readOnly\":false},{\"configFieldKey\":\"is_need_base\",\"configFieldName\":\"是否有标底价文件\",\"display\":true,\"itemList\":[{\"itemKey\":\"no\",\"itemName\":\"否\"},{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":false},{\"configFieldKey\":\"is_sample_txt\",\"configFieldName\":\"是否使用示范文本\",\"display\":true,\"itemList\":[{\"itemKey\":\"no\",\"itemName\":\"否\"},{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":false},{\"configFieldKey\":\"currency\",\"configFieldName\":\"报价币种\",\"display\":true,\"itemList\":[{\"itemKey\":\"¥\",\"itemName\":\"人民币\"}],\"readOnly\":false},{\"configFieldKey\":\"publicize_the_review_items_to_tbr\",\"configFieldName\":\"评审项目是否对供应商公示\",\"display\":true,\"itemList\":[{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":false},{\"configFieldKey\":\"document_need_to_be_signed\",\"configFieldName\":\"投标文件是否需要签名\",\"display\":true,\"itemList\":[{\"itemKey\":\"no\",\"itemName\":\"否\"},{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":false},{\"configFieldKey\":\"document_needs_electronic_signature\",\"configFieldName\":\"投标文件是否需要电子签章\",\"display\":true,\"itemList\":[{\"itemKey\":\"no\",\"itemName\":\"否\"},{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":false},{\"configFieldKey\":\"full_score\",\"configFieldName\":\"评分满分值\",\"display\":true,\"itemList\":[{\"itemKey\":\"full_score\",\"itemName\":\"100分\",\"map\":{\"score\":\"100\"}}],\"readOnly\":true},{\"configFieldKey\":\"total_provisional_sum\",\"configFieldName\":\"是否有暂列金额（含税）合计金额\",\"display\":false,\"itemList\":[{\"itemKey\":\"no\",\"itemName\":\"否\"}],\"readOnly\":false},{\"configFieldKey\":\"total_amount_of_provisional\",\"configFieldName\":\"是否有专业工程暂估价（含税）合计金额\",\"display\":false,\"itemList\":[{\"itemKey\":\"no\",\"itemName\":\"否\"}],\"readOnly\":false}]},{\"businessNodeKey\":\"tb_file_component\",\"businessNodeName\":\"投标文件构成\",\"fieldList\":[{\"configFieldKey\":\"file_addition_deletion_modification\",\"configFieldName\":\"投标文件构成增删改\",\"display\":true,\"readOnly\":false},{\"configFieldKey\":\"component_type\",\"configFieldName\":\"构成类型\",\"display\":true,\"itemList\":[{\"itemKey\":\"text\",\"itemName\":\"文本\"},{\"itemKey\":\"tb_pre_table\",\"itemName\":\"开标一览表\"},{\"itemKey\":\"item_price_table\",\"itemName\":\"分项报价表\"},{\"itemKey\":\"other_file\",\"itemName\":\"其他附件\"},{\"itemKey\":\"purchase_materials_bill\",\"itemName\":\"采购物料清单表\"}],\"readOnly\":false},{\"configFieldKey\":\"price_unit\",\"configFieldName\":\"单位\",\"display\":true,\"itemList\":[{\"itemKey\":\"yuan\",\"itemName\":\"元\"},{\"itemKey\":\"thousand_yuan\",\"itemName\":\"千元\"},{\"itemKey\":\"ten_thousand_yuan\",\"itemName\":\"万元\"}],\"readOnly\":false},{\"configFieldKey\":\"display_attachments_at_bid_opening\",\"configFieldName\":\"开标时展示附件\",\"display\":false,\"readOnly\":false},{\"configFieldKey\":\"tb_fileSize_limited\",\"configFieldName\":\"投标文件最大限制\",\"display\":true,\"formConfigObject\":{\"tbfileSizeLimited\":\"200\"},\"readOnly\":false},{\"configFieldKey\":\"quotation_content_tax_excluded\",\"configFieldName\":\"报价内容（是否含税）\",\"display\":true,\"readOnly\":false},{\"configFieldKey\":\"component_radio\",\"configFieldName\":\"分项报价关联开标一览表总价\",\"display\":true,\"itemList\":[{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":false}]},{\"businessNodeKey\":\"review_link\",\"businessNodeName\":\"评审环节\",\"fieldList\":[{\"configFieldKey\":\"review_category_attribute1\",\"configFieldName\":\"评审条目-属性1\",\"display\":false,\"formConfigObject\":{},\"readOnly\":false},{\"configFieldKey\":\"review_category_attribute2\",\"configFieldName\":\"评审条目-属性2\",\"display\":false,\"formConfigObject\":{},\"readOnly\":false},{\"configFieldKey\":\"review_category_attribute3\",\"configFieldName\":\"评审条目-属性3\",\"display\":false,\"formConfigObject\":{},\"readOnly\":false},{\"configFieldKey\":\"review_category_attribute4\",\"configFieldName\":\"评审条目-属性4\",\"display\":false,\"formConfigObject\":{},\"readOnly\":false},{\"configFieldKey\":\"review_category_attribute5\",\"configFieldName\":\"评审条目-属性5\",\"display\":false,\"formConfigObject\":{},\"readOnly\":false},{\"configFieldKey\":\"audit_method\",\"configFieldName\":\"评审方式\",\"display\":true,\"itemList\":[{\"itemKey\":\"quality_audit\",\"itemName\":\"定性评审\"},{\"itemKey\":\"score_audit\",\"itemName\":\"定量评审\"},{\"itemKey\":\"score_quality_audit\",\"itemName\":\"定量合格制\"},{\"itemKey\":\"price_audit\",\"itemName\":\"价格评审\"},{\"itemKey\":\"nokey\",\"itemName\":\"低价评审\"}],\"readOnly\":false},{\"configFieldKey\":\"quantitative_summary_method\",\"configFieldName\":\"定量评审汇总方式\",\"display\":true,\"itemList\":[{\"itemKey\":\"summary_by_factor\",\"itemName\":\"按因素汇总（对各评审因素求平均后再求和）\"},{\"itemKey\":\"summary_by_judges\",\"itemName\":\"按评委汇总（对各评委打分求和后再平均）\"}],\"readOnly\":false},{\"configFieldKey\":\"scoring_type\",\"configFieldName\":\"打分方式\",\"display\":true,\"itemList\":[{\"itemKey\":\"scoring_by_hand\",\"itemName\":\"手工打分\"},{\"itemKey\":\"scoring_by_step\",\"itemName\":\"步长打分\"},{\"itemKey\":\"scoring_by_fixed\",\"itemName\":\"固定分值\"}],\"readOnly\":false},{\"configFieldKey\":\"audit_type\",\"configFieldName\":\"指标类别\",\"display\":true,\"itemList\":[{\"itemKey\":\"important_aim\",\"itemName\":\"重要指标\"},{\"itemKey\":\"normal_aim\",\"itemName\":\"一般指标\"}],\"readOnly\":false},{\"configFieldKey\":\"is_publis_or_private\",\"configFieldName\":\"明暗标设置\",\"display\":true,\"itemList\":[{\"itemKey\":\"clearlyMarked\",\"itemName\":\"明标\"},{\"itemKey\":\"darkMark\",\"itemName\":\"暗标\"}],\"readOnly\":false},{\"configFieldKey\":\"is_custom_audit_factor\",\"configFieldName\":\"是否客观因素评审\",\"display\":true,\"itemList\":[{\"itemKey\":\"no\",\"itemName\":\"否\"},{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":false},{\"configFieldKey\":\"bad_bid_list_in_review_link\",\"configFieldName\":\"废标条款\",\"display\":true,\"readOnly\":false},{\"configFieldKey\":\"is_relative_to_file\",\"configFieldName\":\"关联至投标文件构成\",\"display\":true,\"itemList\":[],\"readOnly\":false},{\"configFieldKey\":\"addition_deletion_modification\",\"configFieldName\":\"评审环节增删改\",\"display\":true,\"readOnly\":false}]},{\"businessNodeKey\":\"function_configuration\",\"businessNodeName\":\"功能配置\",\"fieldList\":[{\"configFieldKey\":\"related_review_factors_of_tender_documents\",\"configFieldName\":\"投标文件关联评审因素\",\"display\":false,\"itemList\":[{\"itemKey\":\"associated_in_the_bidding_document\",\"itemName\":\"在招标文件中关联\"}],\"readOnly\":false},{\"configFieldKey\":\"call_template\",\"configFieldName\":\"是否调用模板\",\"display\":false,\"itemList\":[{\"itemKey\":\"no\",\"itemName\":\"否\"}],\"readOnly\":false},{\"configFieldKey\":\"userdefined_review_report\",\"configFieldName\":\"自定义评审报表\",\"display\":true,\"readOnly\":false},{\"configFieldKey\":\"accessibility_using_templates\",\"configFieldName\":\"辅助功能-使用模板\",\"display\":true,\"readOnly\":false},{\"configFieldKey\":\"accessibility_replacement_of_template\",\"configFieldName\":\"辅助功能-更换模板\",\"display\":true,\"readOnly\":false},{\"configFieldKey\":\"accessibility_historical_projects\",\"configFieldName\":\"辅助功能-历史项目\",\"display\":true,\"readOnly\":false},{\"configFieldKey\":\"accessibility_save_as_template\",\"configFieldName\":\"辅助功能-保存为模板\",\"display\":true,\"readOnly\":false},{\"configFieldKey\":\"multi_currency_quotation\",\"configFieldName\":\"多币种报价\",\"display\":false,\"readOnly\":false},{\"configFieldKey\":\"bid_evaluation_support_currency\",\"configFieldName\":\"评标货币支持币种\",\"display\":true,\"itemList\":[{\"itemKey\":\"nokey\",\"itemName\":\"人民币(CNY)\"}],\"readOnly\":false},{\"configFieldKey\":\"baojia_evaluation_support_currency\",\"configFieldName\":\"报价货币支持币种\",\"display\":true,\"itemList\":[{\"itemKey\":\"nokey\",\"itemName\":\"人民币(CNY)\"},{\"itemKey\":\"nokey\",\"itemName\":\"英镑(GBP)\"},{\"itemKey\":\"nokey\",\"itemName\":\"港币(HKD)\"},{\"itemKey\":\"nokey\",\"itemName\":\"美元(USD)\"}],\"readOnly\":false},{\"configFieldKey\":\"online_preparation_method\",\"configFieldName\":\"招标文件在线编制方式\",\"display\":false,\"itemList\":[{\"itemKey\":\"nokey\",\"itemName\":\"填写表单(免费) \"}],\"readOnly\":false},{\"configFieldKey\":\"is_need_judges_to_sign\",\"configFieldName\":\"是否需要评委对汇总表进行签名\",\"display\":true,\"itemList\":[{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":false},{\"configFieldKey\":\"is_print_summary\",\"configFieldName\":\"是否需要打印汇总表\",\"display\":false,\"itemList\":[{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":false},{\"configFieldKey\":\"bid_evaluation_configuration\",\"configFieldName\":\"评标设置\",\"display\":true,\"readOnly\":false},{\"configFieldKey\":\"is_zb_file_contain_doc\",\"configFieldName\":\"生成招标文件是否包含word\",\"display\":false,\"itemList\":[{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":false},{\"configFieldKey\":\"negotiation_room\",\"configFieldName\":\"网上谈判室\",\"display\":false,\"itemList\":[{\"itemKey\":\"enable\",\"itemName\":\"启用\"}],\"readOnly\":false},{\"configFieldKey\":\"negotiation_timing\",\"configFieldName\":\"网上谈判发起时机\",\"display\":false,\"itemList\":[{\"itemKey\":\"set_in_the_review_project\",\"itemName\":\"在评审项目中设置\"}],\"readOnly\":false},{\"configFieldKey\":\"online_negotiate\",\"configFieldName\":\"在线谈判\",\"display\":true,\"readOnly\":false},{\"configFieldKey\":\"second_quotation\",\"configFieldName\":\"二次报价\",\"display\":false,\"itemList\":[{\"itemKey\":\"quality_audit\",\"itemName\":\"定性评审\"},{\"itemKey\":\"price_audit\",\"itemName\":\"价格评审\"}],\"readOnly\":false},{\"configFieldKey\":\"is_allow_change_price\",\"configFieldName\":\"在报价时间范围内是否允许供应商修改报价\",\"display\":false,\"itemList\":[{\"itemKey\":\"yes\",\"itemName\":\"是\"}],\"readOnly\":false},{\"configFieldKey\":\"describe_bid\",\"configFieldName\":\"述标\",\"display\":true,\"readOnly\":false}]}],\"personId\":1050129309998268416,\"systemCode\":\"saas\",\"tenantId\":1050411763621867521,\"tenantName\":\"中粮集团、\",\"type\":\"suf\",\"userId\":\"1050091442165899265\"}";
   AtomicReference<Boolean> isLimit= new AtomicReference<>(false);
    if(Objects.nonNull(json)){
        JSONObject jsonObject = JSON.parseObject(json);
        JSONArray businessNodeList = jsonObject.getJSONArray("businessNodeList");
        if(Objects.nonNull(businessNodeList)){
            businessNodeList.stream().forEach(temp->{
                JSONObject jsons = (JSONObject) temp;
                if(jsons.containsKey("businessNodeKey")){

                    String tb_file_component = jsons.getString("businessNodeKey");
                   if("tb_file_component".equals(tb_file_component)){
                       JSONArray fieldList = jsons.getJSONArray("fieldList");
                       fieldList.stream().forEach(obj->{
                           JSONObject tbwj = (JSONObject) obj;
                            if(tbwj.containsKey("configFieldKey")){
                                if(tbwj.getString("configFieldKey").equals("component_radio")){
                                    JSONArray itemList = tbwj.getJSONArray("itemList");
                                    itemList.stream().forEach(item->{
                                        JSONObject status = (JSONObject) item;
                                        String itemKey = status.getString("itemKey");
                                        isLimit.set("yes".equals(itemKey));
                                    });
                                }
                            }
                       });
                   }
                }
            });
        }
    }
}
}
